6. Write a program to accept a student's name, his marks in three subjects and print his result sheet in the follwoing format:
NAME ENGLISH COMPUTER MATH TOTAL GRADE
XXXXX XXXXXX XXXXXX XXXX XXXXXX XXXXX
Assign grade to the student based on the following grade scale:
Percent less than 50 .... D
Percent Greater than 50 but less than 60.... C
Percent Greater than 60 but less than 80.... B
Percent Greater than 80 .... A

Enter the name of the student :

Enter the marks of ENGLISH :

Enter the marks of COMPUTER :

Enter the marks of MATH :

Total marks of the student :

Grade of the student :